package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内容维护对象 sys_content
 * 
 * @author ruoyi
 * @date 2024-03-11
 */
public class SysContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内容id */
    private Long contentid;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;
    /** 内容 */
    @Excel(name = "私密资源检索")
    private String queryParam;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedate;

    /** 会员级别 */
    @Excel(name = "会员级别")
    private String level;

    /** 文章所属分类 */
    @Excel(name = "文章所属分类")
    private String contentType;

    /** 文章所有者id--用于后续小程序加盟--数据隔离--默认为1 */
    @Excel(name = "文章所有者id--用于后续小程序加盟--数据隔离--默认为1")
    private String ownerid;

    /** 文章缩略图 */
    @Excel(name = "文章缩略图")
    private String contentPic;

    /** 资源网盘地址 */
    @Excel(name = "资源网盘地址")
    private String contentPath;

    /** 优先级--默认1 */
    @Excel(name = "优先级--默认1")
    private Integer urgentLevel;

    public Long getContentid() {
        return contentid;
    }

    public void setContentid(Long contentid) {
        this.contentid = contentid;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setUpdatedate(Date updatedate) 
    {
        this.updatedate = updatedate;
    }

    public Date getUpdatedate() 
    {
        return updatedate;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setContentType(String contentType) 
    {
        this.contentType = contentType;
    }

    public String getContentType() 
    {
        return contentType;
    }
    public void setOwnerid(String ownerid) 
    {
        this.ownerid = ownerid;
    }

    public String getOwnerid() 
    {
        return ownerid;
    }
    public void setContentPic(String contentPic) 
    {
        this.contentPic = contentPic;
    }

    public String getContentPic() 
    {
        return contentPic;
    }
    public void setContentPath(String contentPath) 
    {
        this.contentPath = contentPath;
    }

    public String getContentPath() 
    {
        return contentPath;
    }
    public void setUrgentLevel(Integer urgentLevel) 
    {
        this.urgentLevel = urgentLevel;
    }

    public Integer getUrgentLevel() 
    {
        return urgentLevel;
    }

    public String getQueryParam() {
        return queryParam;
    }

    public void setQueryParam(String queryParam) {
        this.queryParam = queryParam;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentid", getContentid())
            .append("title", getTitle())
            .append("content", getContent())
            .append("status", getStatus())
            .append("createdate", getCreatedate())
            .append("updatedate", getUpdatedate())
            .append("level", getLevel())
            .append("contentType", getContentType())
            .append("ownerid", getOwnerid())
            .append("contentPic", getContentPic())
            .append("contentPath", getContentPath())
            .append("urgentLevel", getUrgentLevel())
             .append("queryParam", getQueryParam())
            .toString();
    }
}
